<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>springboot-文件上传</title>
</head>
<body>
<h3>单文件上传</h3>
<form action="/upload" enctype="multipart/form-data" method="post">
    <input name="file" type="file"><br>
    <input type="submit" value="提交">
</form>
<hr>
<h3>多文件上传</h3>
<form action="/uploadMore" enctype="multipart/form-data" method="post">
    <input multiple="multiple" name="file" type="file"><br>
    <input type="submit" value="提交">
</form>
</body>
</html>
